<?php
include_once("Database.class.php");
include_once("DFile.class.php");
include_once("logging.php");
include_once("helper.php");

class Search {
    // singleton.
    private static $instance = null;
    public static function getInstance() {
        if (self::$instance == null) {
            self::$instance = new Search();
        }
        return self::$instance;
    }
	
	public function searchIt($content) {
		$db  = Database::getInstance();
		$res = $db->search_searchit($content);
		return $res;
    }		
	
}
?>